import Vue from 'vue'
import Vuex from 'vuex'
import activeModule from './modules/active'
import routerState from './modules/router'
import user from './modules/user'
import pageInfo from './modules/pageInfo'
import ExchangeState from './modules/ExchangeRate'
import treasure from './modules/treasure'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    activeModule, routerState, user, pageInfo, ExchangeState, treasure
  }
})
